import {createRouter,createWebHashHistory} from 'vue-router'

import Home from '../Home.vue'
import Login from '../Login.vue'

const router = createRouter({
    history:createWebHashHistory(),
    routes:[
        {
            path:'/home',
            component:Home
        },
        {
            path:'/',
            component:Login
        }
    ]
})
export default router